using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace EuropeEngulfed.NET
{
    partial class EESettings : Form
    {
        public EESettings()
        {
            InitializeComponent();
            this.hotSeatCheckBox.Checked = EuropeEngulfed.NET.Resources.EENet.Default.HotSeatDialogOn;
            this.axisMinorStepWarningCheckBox.Checked = EuropeEngulfed.NET.Resources.EENet.Default.AxisMinorStepWarning;
        }

        private void OKButton_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void EESettings_FormClosing(object sender, FormClosingEventArgs e)
        {
            EuropeEngulfed.NET.Resources.EENet.Default.HotSeatDialogOn = this.hotSeatCheckBox.Checked;
            EuropeEngulfed.NET.Resources.EENet.Default.AxisMinorStepWarning = this.axisMinorStepWarningCheckBox.Checked;
            EuropeEngulfed.NET.Resources.EENet.Default.Save();
        }
    }
}